package com.zbkj.crmeb.chant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_product_batch_record")
@ApiModel("ChannelProductBatchRecord对象")
public class  ChannelProductBatchRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作记录id")
    private Integer infoId;

    @ApiModelProperty("商品id")
    private Integer productId;

    @ApiModelProperty("修改后商品状态（0：下架 1：上架）")
    private Boolean status;

    @ApiModelProperty("修改后商品名称")
    private String storeName;

    @ApiModelProperty("修改后商品品牌")
    private Integer brandId;

    @ApiModelProperty("修改后商品单位")
    private String unitName;

    @ApiModelProperty("修改后商品发货地")
    private Integer tempId;

    @ApiModelProperty("修改后预计发货时间")
    private Integer deliveryData;

    @ApiModelProperty("修改后最快到货时间")
    private Integer earliestArrivalData;

    @ApiModelProperty("修改后最慢到货时间")
    private Integer slowestArrivalData;

    @ApiModelProperty("修改结果(0:失败 1:成功)")
    private Boolean batchStatus;

    @ApiModelProperty("失败原因")
    private String failMsg;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
